<template>
  <div>
    <el-card class="box-card">
      <el-table :data="tableData"
                style="width: 100%">
        <el-table-column
          prop="gno"
          label="商品号"
          width="80">
        </el-table-column>
        <el-table-column
        prop="name"
        label="商品名称"
        width="140">
      </el-table-column>
        <el-table-column
          prop="fno"
          label="厂家编号"
          width="140">
        </el-table-column>
        <el-table-column
          prop="manufacturers"
          label="厂家名称"
          width="140">
        </el-table-column>
        <el-table-column
          prop="invoice"
          label="库存量"
          width="140">
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script>
export default {
  data: function () {
    return {
      tableData: [{
        gno: '1',
        name: '羽毛球',
        fno: '001',
        manufacturers: '江南羽毛球厂',
        invoice: '20'
      },
      {
        gno: '2',
        name: '排球',
        fno: '002',
        manufacturers: '江南排球厂',
        invoice: '25'
      },
      {
        gno: '3',
        name: '篮球',
        fno: '004',
        manufacturers: '江南篮球厂',
        invoice: '25'
      },
      {
        gno: '4',
        name: '毽子',
        fno: '006',
        manufacturers: '江南毽子厂',
        invoice: '25'
      },
      {
        gno: '5',
        name: '乒乓球',
        fno: '008',
        manufacturers: '江南乒乓球厂',
        invoice: '25'
      },
      {
        gno: '6',
        name: '单杠',
        fno: '005',
        manufacturers: '江南单杠厂',
        invoice: '25'
      }
      ]
    }
  }
}
</script>

<style scoped>

</style>
